<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>type_can_be_used_in_basic_result&lt;R&gt; - Boost.Outcome documentation</title>
<link rel="stylesheet" href="../../css/boost.css" type="text/css">
<meta name="generator" content="Hugo 0.52 with Boostdoc theme">
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>

<link rel="icon" href="../../images/favicon.ico" type="image/ico"/>
<body><div class="spirit-nav">
<a accesskey="p" href="../../reference/traits/is_success_type.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/traits.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/policies.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
  <div class="titlepage"><div><div><h1 style="clear: both"><code>type_can_be_used_in_basic_result&lt;R&gt;</code></h1></div></div></div>
  <p>A constexpr boolean true for types permissible in <code>basic_result&lt;T, E, NoValuePolicy&gt;</code>.</p>

<p><em>Overridable</em>: Not overridable.</p>

<p><em>Definition</em>: True for a type which:</p>

<ul>
<li>Is not a reference.</li>
<li>Is not an <a href="../../reference/types/in_place_type_t.html" class="api-reference"><code>in_place_type_t&lt;T&gt;</code></a>
.</li>
<li>Is not a <a href="../../reference/types/success_type.html" class="api-reference"><code>success_type&lt;T&gt;</code></a>
.</li>
<li>Is not a <a href="../../reference/types/failure_type.html" class="api-reference"><code>failure_type&lt;EC, EP = void&gt;</code></a>
.</li>
<li>Is not an array.</li>
<li>Is either <code>void</code>, or else is an <code>Object</code> and is <code>Destructible</code>.</li>
</ul>

<p><em>Namespace</em>: <code>BOOST_OUTCOME_V2_NAMESPACE::trait</code></p>

<p><em>Header</em>: <code>&lt;boost/outcome/trait.hpp&gt;</code></p>


        </div><p><small>Last revised: January 24, 2019 at 01:15:16 UTC</small></p>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../reference/traits/is_success_type.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/traits.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/policies.html"><img src="../../images/next.png" alt="Next"></a></div></body>
</html>
